package org.myspringframework.context;

import org.myspringframework.beans.BeansException;

public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     */
    void refresh() throws BeansException;

    //注册关闭钩子
    void registerShutdownHook();

    //销毁
    void close();

}